<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title></title>
	<include file="Public/header" />
</head>
<body>
<script type="text/javascript" src="__PUBLIC__/Admin/lib/layer/1.9.3/layer.js"></script>
<script type="text/javascript">
	var getgoodslistUrl="{:U('Stock/get_goodslog')}";//商品每日库存
	var alert_storage_amount="{:C('base_config.alert_storage_amount')}";//库存预警数量
	function update(){
		layer.msg("正在更新...",function(){
			$.ajax({
				type: 'POST',
				data: {},
				url: "{:U('Auto/goods_log')}",
				success:function(msg){
					layer.msg("更新成功");
				}
			})
		});
	}
</script>
<script type="text/javascript" src="__PUBLIC__/default/js/goodslog01.js"></script>

	<table id="goodsDatagrid" toolbar="#goods_tb"></table>
    <!-- 搜索栏 -->
    <div id="goods_tb">
        <form id="goodsSearchForm" method="post" novalidate>
             <a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon icon-all" plain="true" onclick="goodsObj.showAll()">全部</a>
            商品编码:<input class="easyui-textbox" name="goods_no" style="width:150px;height:30px;"> 
			商品名称:<input class="easyui-textbox" name="goods_name" style="width:150px;height:30px;"> 
			条形码:<input class="easyui-textbox" name="bar_code" style="width:150px;height:30px;">
			时间: <input class="easyui-datetimebox" name="start_time" value="{:date('Y-m-1 H:i:s',time())}" style="height:30px;width:150px;">
			- <input class="easyui-datetimebox" name="end_time" value="{:date('Y-m-d H:i:s',time())}" style="height:30px;width:150px;">
			<a href="#" class="easyui-linkbutton searchBar" iconCls="icon-search" style="height:30px;">搜索</a>
			
        </form>
		<a href="javascript:void(0)" onclick="goodsObj.excelBar()" class="easyui-linkbutton" data-options="iconCls:'icon-page_excel',plain:true">导出EXCEL</a>
		<a href="javascript:void(0)" onclick="update()" class="easyui-linkbutton" data-options="iconCls:'icon-table_lightning',plain:true">更新今天信息</a>
		<br>
		<span style="color:red">
			注：理论剩余库存=总实收上架 - 总导单; 实际剩余库存 = 系统中的库存数据&nbsp;&nbsp;&nbsp;&nbsp;（当天全部申报完成的情况下）剩余未出库=剩余冻结;&nbsp;&nbsp;&nbsp;&nbsp;差额=理论剩余库存 - 实际剩余库存;&nbsp;&nbsp;&nbsp;&nbsp;总导单=总出库;<br>
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;黄色:差额不为0；
		</span>
    </div>
    <!-- /搜索栏 -->
</body>